package com.ddedu.common;

public class JsonResult {
    private int code;
    private Object info;

    public int getCode () {
        return code;
    }

    public void setCode (int code) {
        this.code = code;
    }

    public Object getInfo () {
        return info;
    }

    public void setInfo (Object info) {
        this.info = info;
    }

    @Override
    public String toString () {
        return "JsonResult{" +
                "code=" + code +
                ", info=" + info +
                '}';
    }

    public JsonResult () {
    }

    public JsonResult (int code, Object info) {
        this.code = code;
        this.info = info;
    }
}
